﻿using System;

namespace LazyPlugins.DeclarativeAddinCreator
{
    
    [AttributeUsage(AttributeTargets.Class)]
    public class AddinButtonCaptionAttribute : Attribute
    {
        public string Caption
        {
            get { return caption; }
        }

        private readonly string desc;

        public string Desc
        {
            get { return desc; }
        }

        public AddinButtonCaptionAttribute(string caption,string desc)
        {
            this.desc = desc;
            this.caption = caption;
        }

        private readonly string caption;

        public AddinButtonCaptionAttribute(string caption)
        {
            this.caption = caption;
        }
    }
    [AttributeUsage(AttributeTargets.Class)]
    public class AddinButtonIconNameAttribute : Attribute
    {
        private readonly string iconName;

        public string IconName
        {
            get { return iconName; }
        }

        public AddinButtonIconNameAttribute(string iconName)
        {
            this.iconName = iconName;
        }
    }
}
